<div class="empty_hight50"></div>
<form action="index.php?c=zy_mc_allocation&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data">	
<table width="90%" name="tab_form" id="tab_form" class="tab_form2" align="center" border="0" cellpadding="0" cellspacing="1">
<tbody>
<tr>
	<td width="20%" class="tab_bold">调拨单号</td>
	<td colspan=3><input type=text name="allocation_no" size=30 value='{%$allocation_no%}' onkeyup="value=value.replace(/[^\w\-\/]/ig,'')"></td>
	<!--
	<td width="20%" class="tab_bold">合同编号</td>
	<td><input type=text name="contract_no" size=30 value='{%$contract_no%}' onkeyup="value=value.replace(/[^\w\-\/]/ig,'')"></td>
	-->
</tr>
<tr>
	<td width="20%" class="tab_bold">调拨出处</td>
	<td><input type=text name="allocation_from" size=30 value='{%$allocation_from%}'></td>
	<td width="20%" class="tab_bold">调拨去处</td>
	<td><input type=text name="allocation_to" size=30 value='{%$allocation_to%}'></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">调拨日期</td>
	<td>
		<input type=text name="allocation_time" id="allocation_time" size=20 maxlength="12" value='{%$allocation_time|date_format:"%Y-%m-%d"%}' readonly>
		<script>
			Calendar.setup({
				inputField     :    "allocation_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
	<td width="20%" class="tab_bold">调拨人</td>
	<td>
		<select name="admin_user_id">
			{%html_options options=$admin_info selected=$admin_user_id%}
		</select>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">调拨备注</td>
	<td colspan=3><textarea cols="70" rows="4" id="allocation_info" name="allocation_info" >{%$allocation_info%}</textarea></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">调补附件</td>
	<td colspan=3><input type=file name="file_path" size=50 value='{%$file_path%}'></td>
</tr>

<tr>
	<td colspan=4 align=center>
		<input type=hidden name='allocation_id' id='allocation_id' value='{%$allocation_id%}'>
		<input type=submit value="提交" class="btn_form">&nbsp;&nbsp;
		<input type=reset value="重置" class="btn_form">
	</td>
</tr>
</tbody>
</table>
</form>